#########################################
######## CONFIGURACOES DO MOTOR
#########################################

[engine]
idle_rpm=720
idle_rpm_torque=780
idle_rpm_curve_bias=0.34
peak_rpm=1562
peak_rpm_torque=950
peak_rpm_curve_bias=0.02
max_rpm=3000
inertia=6
friction_torque=98.17
rotational_friction=1
viscous_friction=0.05
use_rpm_limiter=1
rpm_limiter_trigger=2900
rpm_limiter_cutoff_time=0.100
;Idle control: 0 = passive, 1 = active
idle_control=1
max_idle_throttle=1
can_stall=1
stall_sensitivity=0.301
stalled_friction_torque=1000
starter_effectiveness=1
max_fuel_per_rev=0.7

#########################################
######## CONFIGURACOES DO CAMBIO
#########################################

## manual

[clutch_disk_friction]
max_torque_transfer=374

[clutch_torque_converter]
lock_rpm=1654
lock_ratio_bias=0.2

[manual_gearbox]
num_forward_ratios=6
fwd_ratio_1=6.90
fwd_ratio_2=3.65
fwd_ratio_3=2.28
fwd_ratio_4=1.51
fwd_ratio_5=1.05  
fwd_ratio_6=0.73
reverse_ratio=-4.27
gear_change_time=0.85
gear_transition_time=0.8



#########################################
######## CONFIGURACOES DO DIFERENCIAL
#########################################

[differential]
gearRatio=6.18
//do scania era 6.5, aumentando o valor anda mais rapido

## AS OPCOES ABAIXO NAO ESTAO APLICADAS AINDA

type=viscous
#opcoes: open locked viscous clutch_pack torque_bias

## opcoes para viscous
preload=100
powerStiffness=0.2
coastStiffness=0.2

## opcoes para clutch_pack
clutchPreload=50
clutchPackFriction=0.4
powerAngle=45
coastAngle=80

## opcoes para torque_bias
torquePreload=0
powerRatio=5
coastRatio=5

#########################################
######## CONFIGURACOES DO GIRO DA RODA/DIREÇÃO
#########################################

[steering]
max_steer_angle=42
toe_angle=0
;Ackerman: 0 = disabled, 1 = enabled
use_ackerman=1

; Generally this will be the center of the last axle
[pos_ackerman]
posY=0.52
posZ=-2.88

#########################################
######## CONFIGURACOES DO FREIO
#########################################

[brakes]
max_brake_torque=22000
brake_bias=0.6
handbrake_torque=12000
;Handbrake Axle: 0 = rear only, 1 = front only, middle: both
handbrakeAxle=0

#########################################
######## CONFIGURACOES DO RETARDER
#########################################

[retarder]
curve=simple
## a curva pode ser simple ou parametric
levels=3
## deixe em 0 levels para ficar sem retarder

## configuracoes caso escolha curve=simples
## valores q tava 3500, 100, 2500, 0.7
simple_maxTorque=3500
simple_minRpm=200
simple_maxRpm=2500
simple_curveBias=0.5

## configuracoes caso escolha curve=parametric
parametric_baseRpm=100
parametric_peakRpm=1000
parametric_peakTorque=3500
parametric_limitRpm=2500
parametric_limitTorque=2000

#########################################
######## CONFIGURACOES DOS PNEUS
#########################################

## AS CONFIGURACOES DOS PNEUS NAO  ESTAO PROGRAMADAS AINDA
## NAO ALTERE DAQUI PARA BAIXO

## THESE SETTINGS ARE NOT CODED YET, DO NOT CHANGE BELOW

#[tires]
#type=pacejka

#[tires_pacejka]
#adherent_u=0.95
#stiffness=0.8
#shape=1.5
#peak_u=1.1
#curvature=-2